
 const fire = {
    positionShape: "sphere",
    position: [0, 0, 0],
    positionRadius: 2,

    velocityShape: "cube",
    velocity: [0, 100, 0],
    velocityRange: [20, 0, 20],

    texturePath: "/data/img/png/smoke.png",

    sizeTween: [[0, 0.3, 1.2], [20, 150, 1]],
    opacityTween: [[0.9, 1.5], [1, 0]],
    colorTween: [[0.5, 1.0], [[1,  0.12,  0], [0, 0, 0]]],
    blendMode: "AdditiveBlending",

    particlesPerSecond: 60,
    particleDeathAge: 1.5,
    deathAge: 60,
    loop: true
}

 const rain = {
    positionShape    : "cube",
    position     :  [0, 200, 0 ],
    positionRange   : [600, 0, 600 ],

    velocityShape    : "cube",
    velocity     :  [0, -300, 0] ,
    velocityRange   : [10, 50, 10] , 
    acceleration :  [0, -10,0] ,
    
    texturePath : "/data/img/png/rain.png",

    size    : 8.0,
    sizeRange  : 4.0,
    color   : [1.0, 1.0, 1.0], // H,S,L
    colorRange : [0.00, 0.0, 0.2],
    opacity : 0.6,

    particlesPerSecond : 1000,
    particleDeathAge   : 1.0,		
    deathAge    : 60
  }

 const fountain = {
    positionShape    : "sphere",
    positionRadius: 6,
    position     : [ 0,  5, 0] ,
    positionRange   :  [10, 0, 10] ,
    
    velocityShape    : "cube",
    velocity     :  [0,  137, 0] ,
    velocityRange   :  [60, 20, 60] , 

    acceleration :  [0, -160, 0] ,
    
    texturePath : "/data/img/png/smoke11.png",

    angle               : 0,
    angleRange             : 180,
    angleVelocity       : 0,
    angleVelocityRange     : 360 * 4,
    
    sizeTween    :  [[0,0.5, 1], [10,6, 8]] ,
    opacityTween :  [[0, 1,2], [1, 0.8,1]] ,
    color: [0.8, 0.9, 0.94],//0.66, 0.878, 0.96//206, 229, 241

    particlesPerSecond : 3000,
    particleDeathAge   : 1.9,		
    deathAge    : 60
  }
 const smoke = {
    positionShape    : "cube",
    position     :  [0, 0, 0 ],
    positionRange   : [ 10, 0, 10 ],

    velocityShape    : "cube",
    velocity     :  [0, 100, 0] ,
    velocityRange   :  [80, 10, 80 ], 
    acceleration : [ 0,10,0] ,
    
    texturePath : "/data/img/png/smoke.png",

    angle               : 0,
    angleRange             : 720,
    angleVelocity       : 0,
    angleVelocityRange     : 720,
    
    sizeTween    :  [[0, 1], [32, 128]] ,
    opacityTween : [[0.8, 2], [0.5, 0]] ,
    colorTween   :  [[0.4, 1], [ [0.2, 0.2,  0.2], [0.5,  0.5,  0.5] ]] ,

    particlesPerSecond : 200,
    particleDeathAge   : 2.0,		
    deathAge    : 60
  }

 const snow = {
    positionShape: "cube",
    position: [0, 200, 0],
    positionRange:[ 500, 0, 500],
    
    velocityShape: "cube",
    velocity: [0, -60, 0],
    velocityRange: [50, 20, 50], 
    acceleration: [0, -10,0],
    
    angle: 0,
    angleRange: 720,
    angleVelocity: 0,
    angleVelocityRange: 60,
    
    texturePath :"/data/img/png/snowflake.png",
      
    sizeTween: [[0, 0.25], [5, 10] ],
    color: [1.0, 1.0, 1.0], 
    opacityTween: [[1, 3], [0.8, 0]],

    particlesPerSecond: 200,
    particleDeathAge: 4.0,		
    deathAge    : 60
  }
  export const ShapeType= {
  
   Cube:"Cube",
 
   /**
    * Circle shape
    */
   Circle:"Circle",
 
   /**
    * Cone shape
    */
   Cone:"Cone",
 
   /**
    * Sphere shape
    */
   Sphere:"Sphere",
 
   /**
    * Hemisphere shape
    */
   Hemisphere:"Hemisphere",
 }
 export const particleParam= {
  position: [0, 0, 0],
  positionShape:"Cube",
  positionRange:[500, 500, 0],
  positionRadius:1,
  positionconeHeight:5,
  
  velocity:[10, 10, -50],
  velocityShape:"Cube",
  velocityRange:[0, 0, 0],
  velocityRadius:2,
  velocityconeHeight:4,
  
  acceleration: [0, 0, 0],
  angle: 0,
  angleRange: 360,
  angleVelocity: 10,
  texturePath: "./snowflake.png",
  blendingMode:"AdditiveBlending",

  size: [[0, 1], [10,20 ]],//1
  color: [[0, 3], [[0.2, 0.2,  0.2], [0.5,  0.5,  0.5] ]],//
  opacity: [[0, 3], [0.8, 1]],//1

  particlesPerSecond: 200,
  duration: 4.0,
  emitterAge: 60,
  loop:true
}
  export const ParticleKind={
      fire,
      rain,
      fountain,
      smoke,
      snow,
      custom:{}
  }